package cc.greencat.gcmall.ware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:57:32
 */
@TableName("purchase_detail")
public class PurchaseDetailEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 采购单id
	 */
	private Long purchaseId;
	/**
	 * 采购商品id
	 */
	private Long skuId;
	/**
	 * 采购数量
	 */
	private Integer skuNum;
	/**
	 * 采购金额
	 */
	private BigDecimal skuPrice;
	/**
	 * 仓库id
	 */
	private Long wareId;
	/**
	 * 状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
	 */
	private Integer status;

	/**
	 * set 
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get 
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 采购单id
	 */
    public void setPurchaseId(Long purchaseId){
        this.purchaseId = purchaseId;
    }
    /**
	 * get 采购单id
	 */
    public Long getPurchaseId(){
        return this.purchaseId;
    }
	/**
	 * set 采购商品id
	 */
    public void setSkuId(Long skuId){
        this.skuId = skuId;
    }
    /**
	 * get 采购商品id
	 */
    public Long getSkuId(){
        return this.skuId;
    }
	/**
	 * set 采购数量
	 */
    public void setSkuNum(Integer skuNum){
        this.skuNum = skuNum;
    }
    /**
	 * get 采购数量
	 */
    public Integer getSkuNum(){
        return this.skuNum;
    }
	/**
	 * set 采购金额
	 */
    public void setSkuPrice(BigDecimal skuPrice){
        this.skuPrice = skuPrice;
    }
    /**
	 * get 采购金额
	 */
    public BigDecimal getSkuPrice(){
        return this.skuPrice;
    }
	/**
	 * set 仓库id
	 */
    public void setWareId(Long wareId){
        this.wareId = wareId;
    }
    /**
	 * get 仓库id
	 */
    public Long getWareId(){
        return this.wareId;
    }
	/**
	 * set 状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
	 */
    public void setStatus(Integer status){
        this.status = status;
    }
    /**
	 * get 状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
	 */
    public Integer getStatus(){
        return this.status;
    }

}
